<template>
	<view class="content">
		<image src="../../static/images/home/home-top-bg.png" mode="widthFix" style="width: 100%;position: absolute;">
		</image>
		<view class="information-item">
			<image src="../../static/images/mine/photo.jpg" class="photo"></image>
			<view class="name">游客</view>
		</view>
		<view class="info-block">
			<view class="info-item" @click="navigate('/pages/my_application/my_application')">
				<view class="title">我的报名</view>
				<view class="iconfont icon-gengduo"></view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			navigate(url) {
				uni.navigateTo({
					url
				})
			},
		}
	}
</script>

<style lang="scss" scoped>
	.content {
		width: 100%;

		.information-item {
			display: flex;
			flex-direction: row;
			align-items: center;
			position: relative;
			padding: 40rpx 30rpx 30rpx 30rpx;

			.photo {
				width: 140rpx;
				height: 140rpx;
				border-radius: 50%;
				margin-right: 40rpx;
			}

			.name {
				color: #fff;
				font-size: 34rpx;
				font-weight: bold;

			}
		}

		.info-block {
			// position: relative;
			// background: #fff;
			padding: 30rpx;
			// border-radius: 30rpx;
			// min-height: 70vh;
			// margin-top: 10rpx;

			.info-item {
				position: relative;
				height: 160rpx;
				background: #fff;
				box-shadow: 0 0 10px 0 #dedede;
				display: flex;
				flex-direction: row;
				justify-content: space-between;
				align-items: center;
				border-radius: 20rpx;
				padding: 30rpx;
			}
		}
	}
</style>